Linux-kernel mailing list archive 1999-37,: bsd-comp does not work?

# bsd-comp does not work?

Oleg Drokin (green@ccssu.ccssu.crimea.ua)
Sun, 12 Sep 1999 11:21:12 +0300

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Thomas Habets: "Re: Unkillable processes"
- Previous message: David S. Miller: "Re: [patch] show_buffers() resurrection"

Hello!

Yesterday I've found that if I enable bsd_comp module, by adding
'alias ppp-compress-21 bsd_comp' in /etc/modules.conf,
then I cannot establish ppp connection to FreeBSD box (FreeBSD 2.2.7)
I tried it with 2.3.17 and 2.3.18. When bsd_comp is enabled, pppd
just catching SIGHUP right after negotiating.
I inserting 2 debug logs of what happens.
This is when bsd_comp is ENABLED:

Sep 11 23:28:39 mordor pppd[1473]: sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x793c1fd3> <pcomp> <accomp>]
Sep 11 23:28:40 mordor pppd[1473]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x793c1fd3> <pcomp> <accomp>]
Sep 11 23:28:41 mordor pppd[1473]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x360fa439> <pcomp> <accomp>]
Sep 11 23:28:41 mordor pppd[1473]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x360fa439> <pcomp> <accomp>]
Sep 11 23:28:41 mordor pppd[1473]: sent [LCP EchoReq id=0x0 magic=0x793c1fd3]
Sep 11 23:28:41 mordor pppd[1473]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
Sep 11 23:28:42 mordor pppd[1473]: sent [CCP ConfReq id=0x1 <bsd v1 15>]
Sep 11 23:28:42 mordor pppd[1473]: rcvd [IPCP ConfReq id=0x1 <addr 212.110.130.129> <compress VJ 0f 01>]
Sep 11 23:28:42 mordor pppd[1473]: sent [IPCP ConfAck id=0x1 <addr 212.110.130.129> <compress VJ 0f 01>]
Sep 11 23:28:42 mordor pppd[1473]: rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Sep 11 23:28:42 mordor pppd[1473]: sent [CCP ConfRej id=0x1 <deflate 15>]
Sep 11 23:28:42 mordor pppd[1473]: rcvd [LCP EchoRep id=0x0 magic=0x360fa439]
Sep 11 23:28:42 mordor pppd[1473]: rcvd [IPCP ConfNak id=0x1 <addr 212.110.130.142>]
Sep 11 23:28:42 mordor pppd[1473]: sent [IPCP ConfReq id=0x2 <addr 212.110.130.142> <compress VJ 0f 01>]
Sep 11 23:28:42 mordor pppd[1473]: rcvd [CCP ConfAck id=0x1 <bsd v1 15>]
Sep 11 23:28:42 mordor pppd[1473]: rcvd [CCP ConfReq id=0x2 <deflate(old#) 15> <bsd v1 15>]
Sep 11 23:28:42 mordor pppd[1473]: sent [CCP ConfRej id=0x2 <deflate(old#) 15>]
Sep 11 23:28:42 mordor pppd[1473]: Hangup (SIGHUP)
Sep 11 23:28:42 mordor pppd[1473]: sent [LCP TermReq id=0x2 "User request"]
Sep 11 23:28:45 mordor pppd[1473]: sent [LCP TermReq id=0x3 "User request"]

And this is without bsd_comp:

Sep 12 10:44:31 mordor pppd[961]: sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0xc0cb1e18> <pcomp> <accomp>]
Sep 12 10:44:32 mordor pppd[961]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0xc0cb1e18> <pcomp> <accomp>]
Sep 12 10:44:33 mordor pppd[961]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x37d27ef1> <pcomp> <accomp>]
Sep 12 10:44:33 mordor pppd[961]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x37d27ef1> <pcomp> <accomp>]
Sep 12 10:44:33 mordor pppd[961]: sent [LCP EchoReq id=0x0 magic=0xc0cb1e18]
Sep 12 10:44:33 mordor pppd[961]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
Sep 12 10:44:34 mordor pppd[961]: rcvd [IPCP ConfReq id=0x1 <addr 212.110.130.129> <compress VJ 0f 01>]
Sep 12 10:44:34 mordor pppd[961]: sent [IPCP ConfAck id=0x1 <addr 212.110.130.129> <compress VJ 0f 01>]
Sep 12 10:44:34 mordor pppd[961]: rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Sep 12 10:44:34 mordor pppd[961]: sent [CCP ConfReq id=0x1]
Sep 12 10:44:34 mordor pppd[961]: sent [CCP ConfRej id=0x1 <deflate 15>]
Sep 12 10:44:34 mordor pppd[961]: rcvd [LCP EchoRep id=0x0 magic=0x37d27ef1]
Sep 12 10:44:34 mordor pppd[961]: rcvd [IPCP ConfNak id=0x1 <addr 212.110.130.142>]
Sep 12 10:44:34 mordor pppd[961]: sent [IPCP ConfReq id=0x2 <addr 212.110.130.142> <compress VJ 0f 01>]
Sep 12 10:44:34 mordor pppd[961]: rcvd [CCP ConfAck id=0x1]
Sep 12 10:44:34 mordor pppd[961]: rcvd [CCP ConfReq id=0x2 <deflate(old#) 15> <bsd v1 15>]
Sep 12 10:44:34 mordor pppd[961]: sent [CCP ConfRej id=0x2 <deflate(old#) 15>]
Sep 12 10:44:34 mordor pppd[961]: rcvd [IPCP ConfAck id=0x2 <addr 212.110.130.142> <compress VJ 0f 01>]
Sep 12 10:44:34 mordor pppd[961]: Script /etc/ppp/ip-up started (pid 980)
Sep 12 10:44:34 mordor pppd[961]: Script /etc/ppp/ip-up finished (pid 980), status = 0x0
Sep 12 10:44:34 mordor pppd[961]: rcvd [CCP ConfReq id=0x3 <bsd v1 15>]
Sep 12 10:44:34 mordor pppd[961]: sent [CCP ConfRej id=0x3 <bsd v1 15>]
Sep 12 10:44:34 mordor pppd[961]: rcvd [CCP ConfReq id=0x4]
Sep 12 10:44:34 mordor pppd[961]: sent [CCP ConfAck id=0x4]
Sep 12 10:45:03 mordor pppd[961]: sent [LCP EchoReq id=0x1 magic=0xc0cb1e18]
And so on...

Bye,
Oleg

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Thomas Habets: "Re: Unkillable processes"
- Previous message: David S. Miller: "Re: [patch] show_buffers() resurrection"